feat(react-cap-theme): introduce style hook to specifically opt into border radius updates#662
Conversation
|
I am a little worried that it's all separated, the radius styles are not filtered from components styles but in a completely separated file. Alternative is we pass in through the argument of facets all the way into the object used in makeStyles in each component styles files to filter based on facets. |
I agree with you about the future ideal state. For now, I intentionally want to avoid refactoring the existing code to remove the duplication until we know this is a pattern we want to continue. It's more of a standalone experiment for right now. |
Adds a new export to
@fluentui-contrib/react-cap-themefor consumers that want CAP's rounded corners but otherwise stock Fluent v9 styling (no color, spacing, or typography changes). This is currently entirely a completely isolated set of styles, but if this ends up being promising we'd remove these border styles from the core CAP_STYLE_HOOKS styles.